<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Hoonur</title>
<link rel="stylesheet" type="text/css" href="css/style.css">
<link rel="stylesheet" type="text/css" href="css/tabcontent.css" />

<script type="text/javascript" src="includes/javascript/tabcontent.js">
</script>
</head>
<body>
<center>
<div id="maindiv">
    <div>
        <?php $title='Profile'; 
        require('includes/header.php');

		$sql=mysql_query("select * from users where user_id=".$_SESSION['user_id']);
		$row=mysql_fetch_array($sql);
		$myPhsclDetails = mysql_query("select * from physical_details as p, height as h, eye_color_master as ecm, hair_color_master as hcm, skin_color_master as scm, body_type_master as btm where h.height_id = p.height_id and btm.body_type_id =  p.body_type_id and p.eye_color_id = ecm.eye_color_id and p.hair_color_id = hcm.hair_color_id and p.skin_color_id = scm.skin_color_id and  p.user_id =" . $_SESSION['user_id']);

						$getDetails = mysql_fetch_array($myPhsclDetails);
							
							$height = $getDetails['height'];

							$eyes = $getDetails['eye_color'];

							$hair = $getDetails['hair_color'];

							$skin = $getDetails['skin_color'];

							$body = $getDetails['body_type'];

							$unique_id=substr($row['unique_id'],0,16);
		
		?>
    </div>
    <div>
        <div id="wrapCenter"><br /><br />
            <div class="userName font13 floatleft">
    			<?php echo $row['fname'] . " " . $row['lname'];?>    
            </div><br /><br />
    	</div>
        <div id="profilewrap">
        	<div class="profilewrapleft">
            	<div id="ProfilePic">		
                    <div class="uploadImage">
        
                    </div>                    
                </div>
                <div id="leftmenu">
                	<ul>
                    	<li>View my gallery</li>
                        <li>Contact me</li>
                        <li>Share this profile</li>
                        <li><a onClick="window.print()"><span class="textblue">Print this profile</span></a></li>                                               
                    </ul>
                </div>
                <div id="iFollow" class="boder2pxgray">

                    <div class="fontwt800">I Follow - 0</div>
        
                    <div class="blank">&nbsp;</div>                    
        
                    <p style="text-align: center;">Not following anyone</p>
        
                    <div class="blank">&nbsp;</div>        
        
                </div><br />
                <div id="iFollow" class="boder2pxgray">

                    <div class="fontwt800">My Followers - 0</div>
        
                    <div class="blank">&nbsp;</div>                    
        
                    <p style="text-align: center;">No followers</p>
        
                    <div class="blank">&nbsp;</div>        
        
                </div><br />
                <div id="iFollow" class="boder2pxgray">

                    <div class="fontwt800">Friends - 0</div>
        
                    <div class="blank">&nbsp;</div>                    
        
                    <p style="text-align: center;">No friends</p>
        
                    <div class="blank">&nbsp;</div>        
        
                </div>                
            </div>
            <div class="profilewrapright">
            	<div class="profileleft">
                	<div>
                    	<ul id="profiletabs" class="shadetabs">
                        <li><a href="#" rel="all" class="selected">All</a></li>
                        <li><a href="#" rel="photos">Photos</a></li>
                        <li><a href="#" rel="videos">Videos</a></li>
                        <li><a href="#" rel="audios">Audios</a></li>
                        <li><a href="#" rel="des">Description</a></li>
                        </ul>
                    </div>
                	<div id="profiledtl">
                    	<div id="all" class="tabcontent">
                        Tab content 1 here<br />Tab content 1 here<br />
                        </div>
                        
                        <div id="photos" class="tabcontent">
                        Tab content 2 here<br />Tab content 2 here<br />
                        </div>
                        
                        <div id="videos" class="tabcontent">
                        Tab content 3 here<br />Tab content 3 here<br />
                        </div>
                        
                        <div id="audios" class="tabcontent">
                        Tab content 4 here<br />Tab content 4 here<br />
                        </div>
                        
                        <div id="des" class="tabcontent">
                        Tab content 4 here<br />Tab content 4 here<br />
                        </div>
                    </div>
                </div>
                <div class="profileright">
					
                	<div id="top_curve"></div>
                    <div id="middle_curve">                    	
                    	
                        <div class="floatleft">
							<table cellpadding="3px" cellspacing="0px" style="margin-top: -30px;" width="100%">   	
								<tr>
									<td><strong>Popularity Meter</strong></td>
									<td>
										<img src="images/grey_star.gif" width="14" height="15">
										<img src="images/grey_star.gif" width="14" height="15">
										<img src="images/grey_star.gif" width="14" height="15">
										<img src="images/grey_star.gif" width="14" height="15">
										<img src="images/grey_star.gif" width="14" height="15">
									</td>
								</tr>
								<tr class="boder2pxgray">
									<td>Name:</td><td><?php echo $row['fname']." ".$row['lname']; ?></td>
								</tr>
								<tr>
									<td>Location:</td><td><?php echo $row['location']; ?></td>
								</tr>
								<tr>
									<td>Gender:</td><td><?php echo $row['gender']; ?></td>
								</tr>
								<tr>
									<td>Dob:</td><td><?php echo $row['birthdate']; ?></td>
								</tr>
								<tr>
									<td>Height:</td><td><?php echo $height;?></td>
								</tr>
								<tr>
									<td>Eyes:</td><td><?php echo $eyes;?></td>
								</tr>
								<tr>
									<td>Hair:</td><td><?php echo $hair;?></td>
								</tr>
								<tr>
									<td>Skin color:</td><td><?php echo $skin;?></td>
								</tr>
								<tr>
									<td>Body:</td><td><?php echo $body;?></td>
								</tr>
								<tr>
									<td colspan="2"><strong>My social profiles</strong></td>
								</tr>
								<tr >
									<td colspan="2"><img src="images/hoonur_small.gif" width="24px" height="20px" border="0px" class="floatleft"><a href="#"><span class="textblue floatleft">www.hoonur.com/<?php echo $unique_id; ?></span></a></td>
								</tr>
							</table>
						</div>

						<div class="floatright">
							<a href="settings.php"><img src="images/addeditprofile.gif" width="27" height="134" border="0px"></a>
						</div>    

					</div>
                    <div id="bottom_curve"></div>

					<div class="boder2pxgray">
						<div style="margin-top: 50px;width: 330px; height: 250px; border: 1px solid;"></div><br/>

					</div><br/>

					<div id="recommendations">

                    <div class="fontwt800"><img src="images/recommend.png">Recommendations for <?php echo $row['fname']?></div>
        
                    <div class="blank">&nbsp;</div>                    
        
                    <p style="text-align: center;">No recommendations</p>
        
                    <div class="blank">&nbsp;</div> 
					write a recommendation for <?php echo $row['fname']?>
        
                </div>         
					
                </div>
            </div>
        </div>        
    </div> 
</center>
<script type="text/javascript">

var profile=new ddtabcontent("profiletabs")
profile.setpersist(true)
profile.setselectedClassTarget("link") //"link" or "linkparent"
profile.init()

</script>
<br /><br />
	<?php require('includes/adBanner.php');?>
<?php require('includes/footer.php');?>

</div>

</body>
</html>